Correctly annotate gdk_wayland_seat_get_wl_seat()
authorEmmanuele Bassi <ebassi@gnome.org>
Wed, 14 Oct 2020 10:57:06 +0000 (11:57 +0100)
committerEmmanuele Bassi <ebassi@gnome.org>
Wed, 14 Oct 2020 10:57:06 +0000 (11:57 +0100)
We expect a `GdkWaylandSeat` as the instance parameter.

gdk/wayland/gdkdevice-wayland.c

index 1fb60eadf84c18cb223ddc18d13c4cefa7cbd90a..cd77fa75f29173d51ef09876c38d9c4d6d3e82f2 100644 (file)
@@ -5013,11 +5013,11 @@ gdk_wayland_device_set_selection (GdkDevice             *gdk_device,
 
 /**
  * gdk_wayland_seat_get_wl_seat: (skip)
- * @seat: a #GdkSeat
+ * @seat: (type GdkWaylandSeat): a #GdkSeat
  *
- * Returns the Wayland wl_seat of a #GdkSeat.
+ * Returns the Wayland `wl_seat` of a #GdkSeat.
  *
- * Returns: (transfer none): a Wayland wl_seat
+ * Returns: (transfer none): a Wayland `wl_seat`
  */
 struct wl_seat *
 gdk_wayland_seat_get_wl_seat (GdkSeat *seat)